const Mock = require('mockjs');

import userLogin from './login/user.login';

Mock.mock('/user/login','post',userLogin);

import addDict from './dict/dict.addDict';
import checkTypeAndCode from './dict/dict.checkTypeAndCode';
import updateDict from './dict/dict.updateDict';
import deleteDict from './dict/dict.deleteDict';
import queryDictList from './dict/dict.queryDictList';

Mock.mock('/dict/addDict','post',addDict);
Mock.mock('/dict/checkTypeAndCode','post',checkTypeAndCode);
Mock.mock('/dict/updateDict','post',updateDict);
Mock.mock('/dict/deleteDict','post',deleteDict);
Mock.mock('/dict/queryDictList','post',queryDictList);


import getTreeList from  './tree/tree.getTreeList'
import treeAddTree from './tree/tree.addTree';
import treeCheckTreeCode from './tree/tree.checkTreeCode';

Mock.mock('/tree/getTreeList', 'post', getTreeList);
Mock.mock('/tree/addTree', 'post', treeAddTree);
Mock.mock('/tree/checkTreeCode', 'post', treeCheckTreeCode);

